<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Vue模板语法</title>
    <script src="../commonjs/vue.js"></script>
</head>
<body>
    <div id="app">
        <h1>插值语法</h1>
        <h3>Hello,{{name}}</h3>
        <a :href="url" target="_blank">去尚硅谷学习</a>
        <a v-bind:href="url">去尚硅谷学习</a>
    </div>
    <script type="text/javascript">
        Vue.config.productionTip = false;//关闭开发提示
        const vm = new Vue({
            el:'#app',
            data:{
                name:'Jack',
                url:'http://www.atguigu.com'
            },
            method:{}
        })
    </script>
</body>
</html>